
obj-m += ftnandc024.o
ftnandc024-objs := ftnandc024v2.1_nand.o ftnandc024v2.1_nand_dma.o ftnandc024v2.1_nand_cntr.o\
				ftnandc024v2.1_nand_gen.o

.PHONY: modules all

KERNELDIR := /home/balado/faraday/A369/kernel_3.0/linux-3.3
PWD := $(shell pwd)

all: modules

modules:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules

clean:
	rm -f *.ko *.o *.mod.c modules.order Module.symvers
	rm -f .*.cmd
	rm -rf .tmp_versions

